#!/bin/sh

EGW_LANGS=$1

EGROUPWARE_DB_PASS=/var/lib/ebox/conf/ebox-egroupware.passwd

EGW_PASS=`cat $EGROUPWARE_DB_PASS`

cd /usr/share/egroupware/setup

./setup-cli.php --language default,ebox,$EGW_PASS,+$EGW_LANGS

cd -
